From 12c3839b0dd9acec6a1525c0b7dc26049553b9fe Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 25 Oct 2007 09:44:11 +0100 Subject: [PATCH] xend: fix hvm domain restore failure when using vncdisplay option. Signed-off-by: Kouya Shimura --- tools/python/xen/xend/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py index 16e842bddd..2cb18fef53 100644 --- a/tools/python/xen/xend/image.py +++ b/tools/python/xen/xend/image.py @@ -409,7 +409,7 @@ class HVMImageHandler(ImageHandler): xenopts().get_vnclisten_address()) vncdisplay = vnc_config.get('vncdisplay', 0) ret.append('-vnc') - ret.append("%s:%d" % (vnclisten, vncdisplay)) + ret.append("%s:%s" % (vnclisten, vncdisplay)) if vnc_config.get('vncunused', 0): ret.append('-vncunused') -- 2.30.2